package com.banksystem.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.banksystem.entity.userinfo;

public interface Userinfomapper {

	@Select("select * from userinfo where uname=#{username} and upwd=#{password} and role=#{role}")
	public userinfo finduser(@Param("username") String username,@Param("password") String password,@Param("role") String role);
}
